package com.knowledge.action;

import com.opensymphony.xwork2.ActionSupport;
import com.knowledge.DAO.KnowledgeDAO.DataSource;

public class DelHomeAction extends ActionSupport {
	private String table;
	private String id;

	@Override
	public String execute() throws Exception {
		DataSource.deleteHome(table, id);
		return null;
	}

	public String getTable() {
		return table;
	}

	public void setTable(String table) {
		this.table = table;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
}
